﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="rssList.aspx.vb" Inherits="Assignment4.rssList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            width: 208px;
        }
        .style3
        {
            width: 96px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h1>Rss List</h1>
    <table class="style1">
        <tr>
            <td class="style2">
                Latest Quizzes Added</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnQuizzesAdded" runat="server" Text="Get Rss" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                Latest Comments Added</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                <asp:Button ID="btnCommentsAdded" runat="server" Text="Get Rss" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style2">
                Latest Quizzes Added By Teacher</td>
            <td class="style3">
               <asp:DropDownList ID="drpUsers"    runat="server" 
                    DataSourceID="SqlDataSourceProfile" DataTextField="NameSurname" 
                    DataValueField="UserID" AppendDataBoundItems="True">
                    <asp:ListItem Value="-1">Select Teacher</asp:ListItem>
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSourceProfile" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:learningConnectionString %>" 
                    ProviderName="<%$ ConnectionStrings:learningConnectionString.ProviderName %>" 
                    SelectCommand="SELECT * FROM [QuerySelectProfileNameSurname]">
                </asp:SqlDataSource>
            </td>
            <td>
                <asp:Button ID="btnTeacher" runat="server" Text="Get Rss" />
            </td>
        </tr>
        <tr>
            <td class="style2">
                &nbsp;</td>
            <td class="style3">
                <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
